#ifndef MYPUSHBUTTON_H
#define MYPUSHBUTTON_H

#include <QPushButton>

class MyPushButton : public QPushButton
{
    Q_OBJECT
public:
    // explicit MyPushButton(QPushButton *parent = nullptr);
    MyPushButton(QString normalImg,QString pressImg="");
    QString normalImg;
    QString pressImg;

    // 弹跳特效
    void zoomDown();
    void zoomUp();

    void mousePressEvent(QMouseEvent *);
    void mouseReleaseEvent(QMouseEvent *);

signals:
};

#endif // MYPUSHBUTTON_H
